<?php

class QuantridanhmucchuyenmucbaivietController extends BaseController {

	/**
	 * Display a listing of the resource.
	 *
	 * @return Response
	 */
 	protected $chuyen_muc_bai_viet;

	public function __construct(Chuyen_muc_bai_viet $chuyen_muc_bai_viet)
	{
		$this->chuyen_muc_bai_viet = $chuyen_muc_bai_viet;
	}

	public function getIndex()
	{
 		$results = Chuyen_muc_bai_viet::all();
        //$chuyen_muc = new Chuyen_muc_bai_viet();
        //$results = $chuyen_muc->ds_chuyenmuc();
		return View::make('quantrichuyenmuc.index')->with('results',$results);
	}


	/**
	 * Show the form for creating a new resource.
	 *
	 * @return Response
	 */
	public function getCreate()
	{
		return View::make('quantrichuyenmuc.create');
	}


	/**
	 * Store a newly created resource in storage.
	 *
	 * @return Response
	 */
	public function store()
	{
		//
	}


	/**
	 * Display the specified resource.
	 *
	 * @param  int  $id
	 * @return Response
	 */
	public function show($id)
	{
		//
	}


	/**
	 * Show the form for editing the specified resource.
	 *
	 * @param  int  $id
	 * @return Response
	 */
	public function edit($id)
	{
		//
	}


	/**
	 * Update the specified resource in storage.
	 *
	 * @param  int  $id
	 * @return Response
	 */
	public function update($id)
	{
		//
	}


	/**
	 * Remove the specified resource from storage.
	 *
	 * @param  int  $id
	 * @return Response
	 */
	public function destroy($id)
	{
		//
	}


}
